package com.haha.Beans;
import lombok.*;

// Beans，用于定义各类数据实体
@Data
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class Book {
    private Integer bookId;
    private String bookTitle;
    private String bookAuthor;
    private Double bookPrice;

    @Override
    public String toString(){
        return "Book{" +
                "bookId=" + bookId +
                "bookTitle=" + bookTitle +
                "bookAuthor=" + bookAuthor +
                "bookPrice=" + bookPrice +
                "}";
    }
}
